package com.qzct.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(value = "tb_attractions")
public class Attractions implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 风景id
     */
    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("风景id")
    private Integer attractionId;

    /**
     * 风景名字
     */
    @ApiModelProperty("风景名字")
    private String name;

    /**
     * 简介
     */
    @Column(isLarge = true)
    @ApiModelProperty("简介")
    private String description;

    /**
     * 地址
     */
    @ApiModelProperty("地址")
    private String address;

    /**
     * 门票价格
     */
    @ApiModelProperty("门票价格")
    private Double ticketPrice;

    /**
     * 开放时间
     */
    @ApiModelProperty("开放时间")
    private String openTime;

    /**
     * 是否在维护
     */
    @ApiModelProperty("是否在维护")
    private Boolean isMaintenance;

    /**
     * 点赞数
     */
    @ApiModelProperty("点赞数")
    private Long likeCount;

    /**
     * 评论数
     */
    @ApiModelProperty("评论数")
    private Long commentCount;

    /**
     * 是否热门
     */
    @ApiModelProperty("是否热门")
    private Boolean isHot;

    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    @Column(isLogicDelete = true)
    private Integer isDeleted;
    /**
     * 电话号码
     */
    @ApiModelProperty("联系电话")
    private String phoneNumber;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private Double jd;

    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private Double wd;
}
